// ==UserScript==
// @name         Ghost博客邮件订阅群发
// @namespace    https://gitee.com/xvcblog/ghost.subscribe
// @version      0.72
// @author       xpure@foxmail.com
// @updateURL    https://xvcblog.gitee.io/ghost.subscribe/meta
// @downloadURL  https://xvcblog.gitee.io/ghost.subscribe/monkey.js
// @require      http://coffeescript.org/v2/browser-compiler-legacy/coffeescript.js
// @require      https://cdn.jsdelivr.net/combine/npm/papaparse@4,npm/@fancyapps/fancybox@3,npm/lodash@4
// @resource     css https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.2/dist/jquery.fancybox.min.css
// @grant        GM_getResourceText
// @grant        GM_addStyle
// @resource     coffee https://xvcblog.gitee.io/ghost.subscribe/mail.coffee
// @resource     mailCss https://xvcblog.gitee.io/ghost.subscribe/mail.css
// @match        https://blog.xvc.com/ghost/
// @match        https://boyu.xvc.com/ghost/
// ==/UserScript==

function addCss(name){
    GM_addStyle(GM_getResourceText(name))
}

(function() {
    addCss('css')
    addCss('mailCss')
    eval(CoffeeScript.compile(GM_getResourceText('coffee')));
})();
